package model

import "gorm.io/gorm"

type RouteInfo struct {
	gorm.Model
	FormLetLng string `gorm:"type:varchar(40);not null"`
	SeedLetLng string `gorm:"type:varchar(40);not null"`
	UserId     int    `gorm:"type:int(11);not null"`
}

type RouteInfoPrice struct {
	gorm.Model
	WayLong     int     `gorm:"type:int(11);not null"`
	Hot         int     `gorm:"type:int(1);"`
	RainSnow    int     `gorm:"type:int(1);"`
	TimeUse     int     `gorm:"type:int(11);"`
	Price       float64 `gorm:"type:float(10,2);"`
	RouteInfoId int     `gorm:"type:int(11);"`
}
